package com.kk.goGame.service;

import com.kk.goGame.entity.User;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author kk
 * @since 2023-02-14
 */
public interface IUserService {
    User login(String username, String password);

    Integer register(User user);

    User checkColumn(String column,Object value);

    User sedCode(String username, String findtype);

    int updatePassword(String newPassword, String username);

    Integer updateScore(Integer uid, Integer score, String busid, Integer source);

    Map<String,Integer> tongjiSex();

    List<User> tongjiScore();
}
